-- GENERATED SPELL FOR [Treacherous Guardian] --


function spell0_32390(pUnit, Event) --@Abomination Hook,n/a--
pUnit:FullCastSpellOnTarget(59395,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32390', 1000, 1)
end

function Sorts_32390(pUnit, Event)
local choix_sorts_32390 = math.random(0, 0)
if choix_sorts_32390 == 0 then
pUnit:RegisterEvent('spell0_32390', 1, 1)
end
end

function mob32390_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32390', math.random(1500, 3000), 1)
end

function mob32390_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32390_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32390_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32390, 1, 'mob32390_Action')
RegisterUnitEvent(32390, 2, 'mob32390_Leave')
RegisterUnitEvent(32390, 3, 'mob32390_Kill')
RegisterUnitEvent(32390, 4, 'mob32390_Die')
